chore: add GitHub-reward form, scripts & actions#91
chore: add GitHub-reward form, scripts & actions#91TechQuery wants to merge 378 commits intoiflytek:mainfrom
Conversation
Improve auth, search, publish, token, and dashboard UX
Polish search, favorites, publish, token, and auth UX
- Rename setup-agent-worktrees.sh -> parallel-init.sh - Rename sync-agent-integration.sh -> parallel-sync.sh - Rename 13-agent-parallel-workflow.md -> 13-parallel-workflow.md - Add parallel-common.sh with shared utilities - Add parallel-up.sh (sync + dev-all in one step) - Add parallel-down.sh (stop integration stack) - Remove agent-worktrees and agent-sync Makefile targets - Remove AGENT_BASE_REF and AGENT_WORKTREE_ROOT variables - Clean up compatibility shim references in docs
refactor(dev): replace agent-* commands with parallel-* workflow
feat(i18n): set English as default fallback language
* Refactor skill lifecycle projection and docs * Improve owner lifecycle visibility on skill detail * Track download counts per skill version
* fix: keep download counts consistent across skill pages * fix: stabilize empty search ordering across sorts * fix: show disabled-account reason on login redirect * fix: mute report input placeholder text * fix: return skill detail to my skills page * test: stabilize auth context filter coverage * feat(publish): increase single file limit to 10MB * feat(publish): expand allowed file extensions * feat(publish): extend secret scanning to new text file types * feat(publish): add content validation for new file types * refactor(publish): inject configurable limits into SkillPackageArchiveExtractor * feat(publish): support zip with single root directory wrapper * feat(publish): expand determineContentType for new file types * test(publish): update tests for new upload constraints
…iflytek#82) * fix: keep download counts consistent across skill pages * fix: stabilize empty search ordering across sorts * fix: show disabled-account reason on login redirect * fix: mute report input placeholder text * fix: return skill detail to my skills page * test: stabilize auth context filter coverage * feat(publish): increase single file limit to 10MB * feat(publish): expand allowed file extensions * feat(publish): extend secret scanning to new text file types * feat(publish): add content validation for new file types * refactor(publish): inject configurable limits into SkillPackageArchiveExtractor * feat(publish): support zip with single root directory wrapper * feat(publish): expand determineContentType for new file types * test(publish): update tests for new upload constraints * fix(web): add REJECTED status label and styling to my-skills page The resolveStatusLabel and resolveStatusClassName functions were missing the REJECTED case, causing rejected skills to show raw status string with no color styling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: prevent deleting the last remaining version of a skill Backend: added version count check in SkillGovernanceService.deleteVersion() Frontend: hide delete button when only one version remains Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: fix and add tests for last-version deletion guard - Fix deleteVersion_removesDraftFilesAndBundle: mock findBySkillId to return 2 versions so the new guard doesn't block the happy path - Add deleteVersion_rejectsLastRemainingVersion: verify that deleting the only remaining version is rejected with the correct error code --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Non-admin users now see "Submitted for Review" instead of "Published Successfully" after uploading a skill, based on the status returned by the backend.
…, skill registry, layout, routing, and internationalization. (iflytek#87)
…review fix(web): show pending review toast for non-admin skill publish
Signed-off-by: 何时 <93520596+likes1234-bro@users.noreply.github.com>
Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
@ifytek review 意见Critical(必须修复才能合并)1. Shell 命令注入 —
|
Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com> Agent-Logs-Url: https://github.com/Open-Source-Bazaar/skillhub/sessions/b8bddc83-02e9-42d1-8fa5-b27b4719ff0b
2a8fbfc to
3e4a4bc
Compare
|
仓库整体调整了一波哈,麻烦重新提交fork/commit哈,感谢感谢。 |
@wowo-zZ 你仓库再调整, |
https://github.com/actions/checkout/tree/v6/ 早已发布。
只打记账 tag 无需执行代码检查脚本,不但大大占用 aciton 执行时间,有时还会因非记账因素导致记账失败。
静态字符串无注入风险,用 |
This pull request introduces a complete workflow for managing, distributing, and reporting rewards for completed issues, primarily through GitHub Actions, custom scripts, and templates. It includes new automation for reward assignment, tagging, distribution, and monthly statistics, as well as supporting scripts and type definitions.
Features
Reward Workflow Automation
reward-task.yml) for creating reward-based tasks, capturing details like description, currency, amount, and payer.claim-issue-reward.ymlworkflow to automatically distribute rewards when an issue is closed, extracting relevant data and invoking the reward-sharing script.share-reward.tsscript to determine eligible users (excluding bots), split the reward, tag the merge commit with reward data, and comment the reward distribution on the issue.RewardTypeScript interface to standardize reward data across scripts.Reward Statistics and Reporting
statistic-member-reward.ymlworkflow to run monthly, checking for new reward data and generating a summary of rewards per user and currency.count-reward.tsscript to aggregate and summarize reward tags from the past month, group them by payee, and publish the statistics as a new tag and GitHub release.Supporting Configuration
deno.jsonconfiguration file for script execution.